package com.fuyao.cloud.asset.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ColumnWidth(30)
@ApiModel(value = "预算模块导出到excel")
public class BudgetExcelVO {

	@ExcelProperty(value="年度")
	private Integer year;

	@ExcelProperty(value="预算序号")
	private String number;

	@ExcelProperty(value="预算分类")
	private String type;

	@ExcelProperty(value="开支单位")
	private String expenditureFullname;


	@ExcelProperty(value="执行单位")
	private String executionFullname;

	@ExcelProperty(value="责任人")
	private String liableName;

	@ExcelProperty(value="预算金额")
	private BigDecimal amount;

	@ExcelProperty(value="完成时间")
	private LocalDate completionDate;

	@ExcelProperty(value="是否限制合同执行")
	private String limitThreshold;

	@ExcelProperty(value="备注")
	private String remarks;

	@ExcelIgnore
	@ExcelProperty(value="部门名称")
	private String deptFullname;

	@ExcelIgnore
	@ExcelProperty(value="创建人")
	private String createBy;

	@ExcelIgnore
	@ExcelProperty(value="创建时间")
	private LocalDateTime createTime;

}
